/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.accounting.dao;

import java.util.Date;
import java.util.List;

import com.javaeye.common.dao.DAO;
import com.javaeye.accounting.dto.MaterialsMonthInventoryCheck;

public interface MaterialsMonthInventoryCheckDAO extends DAO {
	
	/**
	 * 取得所有的盘点列表
	 * @param beginDate
	 * @param endDate
	 * @param categoryId
	 * @return
	 */
	public List<MaterialsMonthInventoryCheck> getInventoryChecks(
			Date beginDate, Date endDate, int categoryId);
	
	/**
	 * 取得最大的盘点Id
	 * @param checkId
	 * @return
	 */
	public int getMaxInventoryCheckId(String checkId);
	
	/**
	 * 保存盘点表
	 * @param checkInfo
	 */
	public void saveInventoryCheckInfo(MaterialsMonthInventoryCheck checkInfo);
	
	/**
	 * 删除盘点表
	 * @param checkNo
	 */
	public void removeInventoryCheck(String checkNo);
	
	/**
	 * 查询盘点明细
	 * @param checkNo
	 */
	public MaterialsMonthInventoryCheck getInventoryCheckInfo(String checkNo);
}
